/**
 * 自定义请求ajax
 */

class Ajax {
  constructor() {
    this.xhr = this.init()
  }

  init() {
    if(window.XMLHttpRequest) {
      return new XMLHttpRequest() //实例化xhr对象
    }

    return new ActiveXObject()
  }

  get(url, data, ) {

  }
}